package org.jeecg.modules.gwcjava.jiekou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ThirdCartInfo implements Serializable {
    /**主键*/
    @TableId(type = IdType.ID_WORKER_STR)
    private java.lang.String id;
    /**用户id*/
    private java.lang.String userId;
    /**商品id*/
    private java.lang.String goodsId;
    /**商品总数*/
    private java.lang.String goodsNum;
    /**总金额*/
    private java.lang.String sumMoney;

    /**购物车id*/
    private java.lang.String goodsCartId;
    /**规格id*/
    private java.lang.String goodsSpecificationsId;
    /**尺码id*/
    private java.lang.String goodsSizeId;
    /**批次id*/
    private java.lang.String kucunBathId;
    /**单个购买数量*/
    private java.lang.String buyNum;

    /**状态：状态：默认0正常(上架)，1假删除，2下架*/
    private java.lang.Integer status;
    /**备注*/
    private java.lang.String remark;
    /**部门编码*/
    private java.lang.String sysOrgCode;
    /**创建人*/
    private java.lang.String createBy;
    /**更新人*/
    private java.lang.String updateBy;
    /**
     * 创建日期
     */
    @Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    /**
     * 更新日期
     */
    @Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;
}
